const { post } = require('../request.js')

//查询购票页面展示信息
exports.getTicketMessage = (data) => {
	return post('/ticketMessage/get', data)
}
//创建门票预支付订单
exports.ticketOrderSet = (data) => {
	return post('/ticket/order/set', data)
}

//查询门票订单预约状态
exports.getTicketOrderStatus = (data) => {
	return post('/ticket/order/queryStatus', data)
}
//获取门票详情
exports.getTicketOrderDetail = (data) => {
	return post('/ticket/order/getDetail', data)
}

//获取当天营业时间段
exports.getBusinessTime = (date) => {
	return post(`/ticketMessage/getBusinessTime?date=${date}`)
}

